package com.tools.model.params;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class TasksParams {
    @NotBlank(message = "内容不能为空")
    private String content;

    @NotBlank(message = "title不能为空")
    private String title;

    @NotNull(message = "参数不能为空", groups = {UserParams.loginInCode.class})
    private String picIds;
}
